package com.example.gybicycle.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import lombok.Data;


@Data
@Schema(name ="车辆维修记录")
public class BikeUpkeep  {
    @Schema(description = "车辆维修记录id")
    private String id;
    @Schema(description = "车辆编号")
    private String bikeId;
    @Schema(description = "车辆编号名称")
    private  String bikeName;
    @Schema(description = "1 已维修 2 已报废")
    private Integer result;
    @Schema(description = "维修人")
    private String upkeepBy;
    @Schema(description = "维修人名称")
    private  String upkeepName;
    @Schema(description = "维修时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date upkeepTime;
}